Revision: awiki--devo--1.0--patch-49
Archive: lord@emf.net--awiki-2004
Creator: Tom Lord <lord@emf.net>
Date: Fri Oct 15 11:23:54 PDT 2004
Standard-date: 2004-10-15 18:23:54 GMT
New-files: awpage/test libawiki/paper.c libawiki/paper.h
Modified-files: awpage/awpage.c libawiki/awiki.c
    libawiki/awiki.h libawiki/node.c libawiki/node.h
    libawiki/scan.c
New-patches: lord@emf.net--awiki-2004/awiki--devo--1.0--patch-49
Summary: roughed out demand-driven nested parsing
Keywords: 

Modified the node accessors to provide incremental, nested parsing.  A
whole document is first crudely parsed for overall structure, using
broad cues like indentation and section header markers to break it
into parts.  As nodes are recursively traversed, each subnode is in
turn crudely parsed upon demand (for example, a section is parsed into
leading text followed by subsections).

One intent here is to make it easy to extend the parser with new
subnode types.

A larger intent, though, is to use a parsing technology that matches
how a human would parse the source text visually, and so hopefully
both give better error messages for incorrect input, and fail
gracefully -- with the ability to display even many kinds of incorrect
input in a reasonable and unsurprisng way.

